package ro.ubbcluj.cs.damate.managers;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import java.io.Serializable;

/**
 * @author Lóránd Fazakas (lfazakas)
 *         Date: 2013.03.24.
 *         Time: 22:55
 */
@Component
@Scope("session")
public class LayoutTabView implements Serializable {

    private Integer activeTabIndex;

    @PostConstruct
    private void init() {
        this.activeTabIndex = 0;
    }

    public Integer getActiveTabIndex() {
        return activeTabIndex;
    }

    public void setActiveTabIndex(Integer activeTabIndex) {
        this.activeTabIndex = activeTabIndex;
    }
}
